<%@page import="com.kd.bean.jobSeeker.Basic_information"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%
	Basic_information basicMessage = (Basic_information)session.getAttribute("basicMessage");
	if(basicMessage==null){
		response.sendRedirect("/view/login.jsp");
	}
%>
<script src="/js/jquery-1.11.0.js"></script>
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="/css/layout_ce89d6c.css">
<link rel="stylesheet" type="text/css" href="/css/widgets_52f84b9.css">
<link rel="stylesheet" href="/css/jobMain.css" />
<!--jquery插件-->

<script src="/js/resume.js"></script>

<style>
/* Custom Styles */
    ul.nav-tabs{
        width: 140px;
        margin-top: 50px;
        border-radius: 4px;
        border: 1px solid #ddd;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.067);
    }
    ul.nav-tabs li{
        margin: 0;
        border-top: 1px solid #ddd;
    }
    ul.nav-tabs li:first-child{
        border-top: none;
    }
    ul.nav-tabs li a{
        margin: 0;
        padding: 8px 16px;
        border-radius: 0;
    }
    ul.nav-tabs li.active a, ul.nav-tabs li.active a:hover{
        color: #fff;
        background: #0088cc;
        border: 1px solid #0088cc;
    }
    ul.nav-tabs li:first-child a{
        border-radius: 4px 4px 0 0;
    }
    ul.nav-tabs li:last-child a{
        border-radius: 0 0 4px 4px;
    }
    ul.nav-tabs.affix{
        top: 50px; /* Set the top position of pinned element */
    }
</style>

</head>
<body data-spy="scroll" data-target="#myScrollspy">
	<div id="lg_header">
		<!--C端头部黑色导航-->
		<div id="lg_tbar" class="normal-tbar">
			<div class="inner">
				<div class="lg_tbar_l">
					<ul class="lg_tbar_tabs">
						<li class="tab-active"><a href="/view/main.jsp">首页</a></li>
					</ul>
				</div>
				<div class="lg_tbar_r">
					<c:if test="${basicMessage!=null}">
						<ul class="passport">
							<li><a href='/view/admin/notice.jsp'>公告</a>&nbsp;&nbsp;&nbsp;&nbsp;</li>
							<li><a href='/view/message.jsp'>消息</a>&nbsp;&nbsp;&nbsp;&nbsp;</li>
							<li><a href='/view/resume.jsp'>简历</a></li>
							<li><span>·</span></li>
							<li><a href='/view/resume.jsp'>上传</a></li>
							<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
							<li><a href='/view/detail.jsp'>${basicMessage.basic_name }&nbsp;&nbsp;
									<img src="/image/${basicMessage.basic_photo }" align='center'
									width="40" height="40">
							</a></li>
							<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
							<li><a href='/basic_information/quit'>退出</a></li>
						</ul>
					</c:if>
					<c:if test="${basicMessage==null }">
						<ul class="passport">
							<li><a href="/view/login.jsp" class="login">登录</a></li>
							<li><span>|</span></li>
							<li><a href="/view/register.jsp" class="register">注册</a></li>
						</ul>
					</c:if>
				</div>
			</div>
		</div>
	</div>
	
	<!-- 个人简历 -->
	<div class="container" >
		<div class="row">
	        <div class="col-xs-2" id="myScrollspy">
	            <ul class="nav nav-tabs nav-stacked" id="myNav">
	                <li class="active"><a href="#section-1">我的在线简历</a></li>
	                <li><a href="#section-2">所有文档信息</a></li>
	            </ul>
	        </div>
			<div class="col-xs-10" style="background-color:white;">
	            <table border="0" width="100%" style="text-align: right;">
					<tr>
						<td width="100%" align="center" id="section-1">
							<form action="/online_resumes/updateOrInsertOnline_resumes" onsubmit="return checkImgMyFile()" method="post" enctype="multipart/form-data">
								<table border="0" width="100%" style="margin-top:1%;">
									<caption>
										<font size='5'>我的在线简历</font>
										<input type="hidden" name="res_id" id="res_id">
									</caption>
									<tr>
										<td height="100" colspan="4" align='center'>
											<input type='file' required name="myFile" onchange="getImgUR2L(this)" id="myFile2"> 
											<img src="/img/个人.png" id="fileImg2" width="65px" height="65px" class="img-thumbnail" /></td>
									</tr>
									<tr>
										<td height="40" align='right'>姓名：</td>
										<td ><input type="text" required name="res_name" id="res_name" class="form-control"></td>
		
										<td align='right'>性别：</td>
										<td width="500">
											<input type="radio" name="res_gender" required value="1" checked="checked">男 
											<input type="radio" name="res_gender" required value="2">女</td>
									</tr>
									<tr>
										<td align='right'>出生年月日：</td>
										<td><input type="text" required placeholder="1999-01-01" name="res_date" id="res_date" class="form-control"></td>
		
										<td height="40" align='right'>个人优势：</td>
										<td><textarea name="res_pa" id="res_pa" class="form-control" rows="5">
												
											</textarea></td>
									</tr>
									<tr>
										<td align='right'>求职期望：</td>
										<td>
											<select name="res_jeMin">
																<option value="1000">1000元</option>
																<option value="2000">2000元</option>
																<option value="3000">3000元</option>
																<option value="4000">4000元</option>
																<option value="5000">5000元</option>
																<option value="6000">6000元</option>
																<option value="7000">7000元</option>
																<option value="8000">8000元</option>
																<option value="9000">9000元</option>
																<option value="10000">10000元</option>
																<option value="20000">20000元</option>
																<option value="25000">25000元</option>
																<option value="30000">30000元</option>
																<option value="35000">35000元</option>
															</select> - 
															<select name="res_jeMax">
																	<option value="2000">2000元</option>
																	<option value="3000">3000元</option>
																	<option value="4000">4000元</option>
																	<option value="5000">5000元</option>
																	<option value="6000">6000元</option>
																	<option value="7000">7000元</option>
																	<option value="8000">8000元</option>
																	<option value="9000">9000元</option>
																	<option value="10000">10000元</option>
																	<option value="20000">20000元</option>
																	<option value="25000">25000元</option>
																	<option value="30000">30000元</option>
																	<option value="35000">35000元</option>
																	<option value="35000">40000元</option>
															</select>
										</td>
										<td height="40" align='right'>工作经历：</td>
										<td><textarea name="res_we" id="res_we" class="form-control" rows="5">
												
											</textarea></td>
									</tr>
									<tr>
										<td height="40" align='right'>工作经验年限：</td>
										<td><select name="res_workYear" id="res_workYear" class="form-control">
												<option value="1">在校生</option>
												<option value="2">应届生</option>
												<option value="3">一年以内</option>
												<option value="4">1-5年</option>
												<option value="5">5-10年</option>
												<option value="6">10年以上</option>
										</select>
										<td height="40" align='right'>项目经历：</td>
										<td><textarea name="res_pe" id="res_pe" class="form-control" rows="5">
												
											</textarea></td>
									</tr>
									<tr>
										<td height="40" align='right'>教育经历：</td>
										<td><select name="res_ee" id="res_ee" class="form-control">
												<option value="1">初中及以下</option>
												<option value="2">中专/技校</option>
												<option value="3">一年以内</option>
												<option value="4">大专</option>
												<option value="5">本科</option>
												<option value="6">硕士</option>
												<option value="7">博士</option>
										</select></td>
									</tr>
									<tr>
										<td height="70" colspan='4' align='center'>
											<input type='submit' value='确认修改' class='btn btn-primary'>
										</td>
									</tr>
								</table>
							</form>
						</td>
					</tr>
					<tr>
						<td width="100%" align="center" id="section-2">
							<form action="/doc_resumes/insertDDoc_resumes" onsubmit='return checkMyFile()' method="post" enctype="multipart/form-data">
								<table id="allDoc_resumesTable" class="table table-striped table-hover" border="0" width="80%" style="margin-top:5%;" align="left">
									
								</table>
								<table id="uploadDoc" border="0" width="60%" style="margin-top:1%;margin-left:5%;" align="left">
									<tr>
										<td height='40' width="180" align='right' >选择文档：</td>
										<td><input type='file' required name="myFile" id="myFile"></td>
									</tr>
									<tr>
										<td height="40" align='right'>文档标题：</td>
										<td><input type='text'required class="form-control" name="doc_title"></td>
									</tr>
									<tr>
										<td colspan='2' height='60' align="center">
											<input type="submit" value="确认上传" class='btn btn-primary'>
										</td>
									</tr>
								</table>
							</form>
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>

</body>
</html>